Skip to content

feat(models): support new gemini models and codex gpt-5.4-mini#376

Merged
tiann merged 2 commits intotiann:mainfrom
CHW0n9:feat/gemini-models-update
Mar 29, 2026
Merged

feat(models): support new gemini models and codex gpt-5.4-mini#376
tiann merged 2 commits intotiann:mainfrom
CHW0n9:feat/gemini-models-update

Conversation

@CHW0n9
Copy link
Copy Markdown
Contributor

@CHW0n9 CHW0n9 commented Mar 29, 2026

Description

This PR adds support for the latest Gemini models and the new Codex model to keep the application up to date with recently released API options.

Changes Made

  • Web UI (web/src/components/NewSession/types.ts):
    • Added new options to the Gemini model selector: gemini-3.1-pro-preview, gemini-3-flash-preview, and gemini-2.5-flash-lite.
    • Added the new option to the Codex model selector: gpt-5.4-mini.
  • CLI Backend (cli/src/agent/backends/acp/AcpStdioTransport.ts):
    • Updated the internal model_not_found parser error message string. When a model is not found, the CLI will now correctly list the latest preview and flash-lite models as available choices to the user.

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings

  • None.

Summary

  • Review mode: initial. No issues found in added/modified lines. Residual risk: new model options are not covered by automated tests and depend on upstream model availability.

Testing

  • Not run (automation)

HAPI Bot

@tiann tiann merged commit 1f67d36 into tiann:main Mar 29, 2026
2 checks passed
@CHW0n9 CHW0n9 deleted the feat/gemini-models-update branch March 29, 2026 21:44
SeeFlowerX pushed a commit to SeeFlowerX/hapi that referenced this pull request Apr 1, 2026
SeeFlowerX pushed a commit to SeeFlowerX/hapi that referenced this pull request Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants